home *** CD-ROM | disk | FTP | other *** search
- "FILE"="Xteq Systems X-Setup Plugin 3.1"
- "TYPE"="1"
- "COUNT"="2"
- "UIPATH"="System\User Data"
- "NAME"="Windows User Data"
- "VERSION"="1.12"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Name"
- "TEXT 2"="Company"
- "DESCRIPTION 1"="While Windows has been installed on your computer, it has saved your name and the name of your company."
- "DESCRIPTION 2"="This information can be changed here."
- "DESCRIPTION 3"=""
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to Anthony Perez/Rivernet Communications [mailto:rivernet1@uswest.net] for his help!"
-
- Sub Plugin_Initialize
- if RegPathExists("HKLM\Software\Microsoft\Windows\CurrentVersion") then
- s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOwner")
- SetUIElement 1,s
-
- s=RegReadValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization")
- SetUIElement 2,s
- else
- Disable
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- s=GetUIElement(1)
- Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOwner",s,1)
-
- s=GetUIElement(2)
- Call RegWriteValue("HKLM\Software\Microsoft\Windows\CurrentVersion\RegisteredOrganization",s,1)
- End Sub
-
-
- Sub Plugin_Terminate
- End Sub
-
-
-
-